﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MyBBS.Data.Models;

namespace MyBBS.Data.Interfaces
{
    public interface IPostRepository
    {

        #region Query Data
        
        IQueryable<Post> GetPosts();
        IQueryable<Comment> GetComments();
        IQueryable<Category> GetCategories();
        IQueryable<PostTag> GetPostTags();
        IQueryable<Tag> GetPopularTags();
        IQueryable<Kick> GetKicks();

        #endregion


        #region Insert Data
        
        long AddComment(Comment comment);
        long AddPost(Post post);
        int Kick(Kick kick);

        #endregion

    }
}
